from PyQt6.QtWidgets import QMainWindow
from central_widget import CentralWidget


class MainWindow(QMainWindow):
    def __init__(self):
        super().__init__()
        self.setWindowTitle("考勤管理系统")
        self.setGeometry(100, 100, 800, 600)

        # 创建中央组件
        self.central_widget = CentralWidget()
        self.setCentralWidget(self.central_widget)

        # 初始化状态栏
        self.statusBar().showMessage("就绪")